package com.zgx.plus.generator.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zgx.plus.generator.po.GenTableColumn;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GenTableColumnMapper extends BaseMapper<GenTableColumn> {
    void updateGenTableColumn(GenTableColumn cenTableColumn);

    void deleteGenTableColumnByIds(Long[] tableIds);

    List<GenTableColumn> selectDbTableColumnsByName(String tableName);

    void insertGenTableColumn(GenTableColumn column);

    void deleteGenTableColumns(List<GenTableColumn> delColumns);
}
